package com.hoko.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池堆表
 * </p>
 *
 * @author chenk
 * @since 2023-11-02 12:13:58
 */
@Getter
@Setter
@TableName("battery_stack")
public class BatteryStack implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 电池堆ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 电池堆名称
     */
    private String batteryStackName;

    /**
     * 所属站点ID
     */
    private Long ownerSiteId;

    /**
     * 总电压
     */
    private BigDecimal totalVoltage;

    /**
     * 总电流
     */
    private BigDecimal totalCurrent;

    /**
     * 温度
     */
    private BigDecimal temperature;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    private Integer isDelete;
}
